using System;
using System.Globalization;

namespace Medianamik.Core
{
    public partial interface IMedianamikDTO
    {
        Guid NodeId { get; set; }
        Guid? ParentNodeId { get; set; }
        Guid TypeId { get; set; }
        string CultureName { get; set; }
        short Position { get; set; }
        bool IsActive { get; set; }
        string Path { get; set; }
        int Depth { get; set; }
        bool HasModifications { get; set; }
        int? Revision { get; set; }
        DateTime? ModifiedOn { get; set; }
        DateTime CreatedOn { get; set; }
        int Generation { get; set; }
    }

    public partial interface IMedianamikDTOWithName : IMedianamikDTO
    {
        string Name { get; set; }
    }

    [Serializable]
    public abstract class MedianamikDTO : IMedianamikDTO
    {
        public Guid NodeId { get; set; }
        public Guid? ParentNodeId { get; set; }
        public Guid TypeId { get; set; }
        public string CultureName { get; set; }
        public short Position { get; set; }
        public bool IsActive { get; set; }
        public string Path { get; set; }
        public int Depth { get; set; }
        public bool HasModifications { get; set; }
        public int? Revision { get; set; }
        public DateTime? ModifiedOn { get; set; }
        public DateTime CreatedOn { get; set; }
        public int Generation { get; set; }
    }
}